package adapter;

import dao.Dao;
import database.Oracle;

import java.util.List;

public class OracleAdapter implements Dao {
    private final Oracle oracle;

    public OracleAdapter(Oracle oracle) {
        this.oracle = oracle;
    }

    @Override
    public List<Object> select() {
        return oracle.find();
    }

}
